home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 2: Applications
/
Linux Cubed Series 2 - Applications.iso
/
math
/
yplot-0.000
/
yplot-0
/
yplot-0.9
/
README
< prev
next >
Wrap
Text File
|
1996-06-04
|
4KB
|
89 lines
This is the README file for YPLOT, a Yorick interface to PLPlot.
PREAMBLE
-------------------------------------------------------------------------
YPLOT is meant to be a useful tool in creating scientific plots of both
draft and publication quality very quickly and efficiently.
That said, it should be realised that most of this usefulness comes from
Yorick and PLPlot, so thanks to their respective creators and maintainers.
Most of what YPLOT can do is due to the fact that David Munroe wrote Yorick
to be extensible by linking external object files to the Yorick interpreter.
Thanks!
YPLOT facilities
-------------------------------------------------------------------------
At this stage YPLOT implements a subset of the (extensive) capabilities of
the PLPlot library. That said, most of the high level API is avialible
directly to the user, with extra some extra functions added for reading data
from files. More functions can eassily be added on request or contribution.
So, YPLOT can do the following in the hands of even an inexperienced user:
o Access to all the capabilities of Yorick. Do all your data generation,
interpretation and plotting from one package.
o Linear plots
o Log-log plots, with any variations of log and linear axes possible
o 3D surface and mesh plots (there is a difference, really ;-)
o 3D line and scatter
o Grid lines
o Lots of symbols and stroked fonts to choose from, all scalable
o Full control over boxes drawn, captions, fonts and placement of labels
o Speed: A YPLOT plot finishes in about 3 times that of the corresponding
compiled C version. Huh? Doesn't sound very fast, until you factor in the
compiling time and development time (which can be VERY long if your C is
not quite up to scratch. Like mine :-)
o Fast development due to the the interpreted nature of YPLOT
o Lots of output devices, including X11, Postscript, Laserjet printers, and
PLPlot metafiles for later rendering.
o PLUS: a tutorial and reference manual that demonstrates most of YPLOT's
capabilities with explanations every step of the way!
Note on Landscape and Portrait plotting
----------------------------------------------------------------------------
PLPlot was designed to plot in landscape mode. Period. (OK, so you can get
it to plot in Portrait mode, but this aspect ratio is still that of a
Landscape plot)
For that reason, I include my own hacks of the PLPlot drivers ps.c and
ljiip.c to enable you to compile PLPlot to produce Portrait Postscript and
Laserjet files. These files should be copied in the directory
${PLPlot_top}/tmp
where you untarred the PLPlot distribution.
DEMOS
----------------------------------------------------------------------------
The doc subdirectory contains a few examples to show off YPLOT.
After installing, run these with eg.
yplot -batch demo1.i
Near the top of each of these files is a driver specification, of the form
"xwin" of "ps" for the X11 of Postscript drivers. Change this to one of the
PLPlot devices according to what is availible to you.
Bugs and patches and support
---------------------------------------------------------------------------
"Correct them, send them, and don't expect any" ;-)
Seriously:
If you find any serious bugs, do the following:
o Try really hard to find out if it isn't your own fault.
o If you are able, try and correct the problem in either read.c, pplot.c or
yplot.i or the Makefile (that's my only contribution actually)
o Send me a discription of the problem and any diffs (see man diff) you may
come up with.
o I will try my best to solve the problem or incorporate your fix.
That said, YPLOT has been in daily use for some time at the SRU without any
and is considered quite stable.
If you would like to do any work on extending YPLOT, go ahead make my month!
Look at the files read.c, pplot.c and yplot.i for examples. It really isn't
very complicated, even I could understand it...
Please...
---------------------------------------------------------------------------
If you find YPLOT useful, please drop me an e-mail. It helps justify the
time I spent developing YPLOT when I should have been doing serious
research.
C. Steenberg (conrad@fskcds.puk.ac.za)
4/6/96